package cfca.seal.front.service.ws.bean;

import cfca.seal.util.StringUtil;

public class SealInfoBean
{
  private String sealPerson;
  private String sealOrg;
  private String sealName;
  private String sealCode;
  private String sealPassword;
  private String sealType;
  private String imageCode;
  private String orgCode;

  public String getSealPerson()
  {
    return this.sealPerson;
  }
  public void setSealPerson(String sealPerson) {
    this.sealPerson = sealPerson;
  }
  public String getSealOrg() {
    return this.sealOrg;
  }
  public void setSealOrg(String sealOrg) {
    this.sealOrg = sealOrg;
  }
  public String getSealName() {
    return this.sealName;
  }
  public void setSealName(String sealName) {
    this.sealName = sealName;
  }
  public String getSealCode() {
    return this.sealCode;
  }
  public void setSealCode(String sealCode) {
    this.sealCode = sealCode;
  }
  public String getSealPassword() {
    return this.sealPassword;
  }
  public void setSealPassword(String sealPassword) {
    this.sealPassword = sealPassword;
  }
  public String getSealType() {
    return this.sealType;
  }
  public void setSealType(String sealType) {
    this.sealType = sealType;
  }
  public String getImageCode() {
    return this.imageCode;
  }
  public void setImageCode(String imageCode) {
    this.imageCode = imageCode;
  }
  public String getOrgCode() {
    return this.orgCode;
  }
  public void setOrgCode(String orgCode) {
    this.orgCode = orgCode;
  }
  public SealInfoBean() {
  }

  public SealInfoBean(String sealInfoXML) {
    this.sealPerson = StringUtil.getNodeText(sealInfoXML, "SealPerson");
    this.sealOrg = StringUtil.getNodeText(sealInfoXML, "SealOrg");
    this.sealCode = StringUtil.getNodeText(sealInfoXML, "SealCode");
    this.sealName = StringUtil.getNodeText(sealInfoXML, "SealName");
    this.sealPassword = StringUtil.getNodeText(sealInfoXML, "SealPassword");
    this.sealType = StringUtil.getNodeText(sealInfoXML, "SealType");
    this.imageCode = StringUtil.getNodeText(sealInfoXML, "ImageCode");
    this.orgCode = StringUtil.getNodeText(sealInfoXML, "OrgCode");
  }
}